import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import axios from './assets/js/fetch.js'
import api from './assets/js/api.js'
import store from './assets/js/store.js'

import BaiduMap from 'vue-baidu-map-3x'

import Vant from 'vant'
import 'vant/lib/index.css'

let app = createApp(App);

app.use(router)
.use(Vant).use(store)
.mount('#app')


app.config.globalProperties.$http = axios;
app.config.globalProperties.$api = api;
app.config.globalProperties.$breakpoints = {
	1200: {
		rowPerView: 4,  //当屏幕宽度小于等于1200
	},
	800: {
		rowPerView: 3, //当屏幕宽度小于等于800
	},
	500: {
		rowPerView: 2, //当屏幕宽度小于等于500
	},
}

